import { defineStore } from 'pinia'
import { loginApi } from '@/apis/userApis'

export const useUserStore = defineStore('user', {
  state: () => {
    return {
      token: '',
    }
  },
  getters: {},
  actions: {
    async getInfo(data) {
      const result = await loginApi(data)
      console.log(result)
    },
  },
})
